package com.ruoyi.hatha.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

import java.util.List;

/**
 * 课程列对象 p_ykecheng
 * 
 * @author ruoyi
 * @date 2024-04-15
 */
public class PYkecheng extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 所属日期 */
    @Excel(name = "所属日期")
    private Long bid;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long kid;

    @Transient
    private String kcname;

    @Transient
    private String yyy;

    /** 教室ID */
    @Excel(name = "教室ID")
    private Long roomId;

    @Transient
    private String rname;
    @Transient
    private Long fid;

    @Transient
    private PMyvip myvip;

    public PMyvip getMyvip() {
        return myvip;
    }

    public void setMyvip(PMyvip myvip) {
        this.myvip = myvip;
    }

    public String getYyy() {
        return yyy;
    }

    public void setYyy(String yyy) {
        this.yyy = yyy;
    }

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    /** 教师ID */
    @Excel(name = "教师ID")
    private Long teacher;

    @Transient
    private String tname;

    @Transient
    private String kcpic;
    @Transient
    private String kcmudi;
    @Transient
    private String kcqd;
    @Transient
    private String mname;

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    private Long uid;
    private Long mid;

    @Transient
    private PKecheng pKecheng;

    private Integer maxnum;

    public Integer getMaxnum() {
        return maxnum;
    }

    public void setMaxnum(Integer maxnum) {
        this.maxnum = maxnum;
    }

    public PKecheng getpKecheng() {
        return pKecheng;
    }

    public void setpKecheng(PKecheng pKecheng) {
        this.pKecheng = pKecheng;
    }

    /** 上课时间 */
    @Excel(name = "上课时间")
    private String timeStr;

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    /** 时长 */
    @Excel(name = "时长")
    private String shichang;

    public String getKcname() {
        return kcname;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getKcpic() {
        return kcpic;
    }

    public void setKcpic(String kcpic) {
        this.kcpic = kcpic;
    }

    public String getKcmudi() {
        return kcmudi;
    }

    public void setKcmudi(String kcmudi) {
        this.kcmudi = kcmudi;
    }

    public String getKcqd() {
        return kcqd;
    }

    public void setKcqd(String kcqd) {
        this.kcqd = kcqd;
    }

    public void setKcname(String kcname) {
        this.kcname = kcname;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBid(Long bid) 
    {
        this.bid = bid;
    }

    public Long getBid() 
    {
        return bid;
    }
    public void setKid(Long kid) 
    {
        this.kid = kid;
    }

    public Long getKid() 
    {
        return kid;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setTeacher(Long teacher) 
    {
        this.teacher = teacher;
    }

    public Long getTeacher() 
    {
        return teacher;
    }
    public void setTimeStr(String timeStr) 
    {
        this.timeStr = timeStr;
    }

    public String getTimeStr() 
    {
        return timeStr;
    }
    public void setShichang(String shichang) 
    {
        this.shichang = shichang;
    }

    public String getShichang() 
    {
        return shichang;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bid", getBid())
            .append("kid", getKid())
            .append("roomId", getRoomId())
            .append("teacher", getTeacher())
            .append("timeStr", getTimeStr())
            .append("shichang", getShichang())
            .append("mid", getMid())
            .append("maxnum", getMaxnum())
            .toString();
    }
}
